# -*- coding: utf-8 -*-

## import os
## os.environ.update({"DJANGO_SETTINGS_MODULE": "saltops.settings"})

DEBUG = True

## 类似于nginx中的server_name, 允许客户端通过什么域名访问
ALLOWED_HOSTS = ['172.32.100.232', '172.32.100.20']

# salt-api setting
SALT_CFG = {
    'url': 'http://172.32.100.232:8000',
    'user': 'general',
    'password': '2q2q2q2q/'
}
## 从cmdb拉取设备列表
SERVER_LIST_ADDR = 'http://172.32.100.10/idc/device/list'
